<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxTraits/get_base_class.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('get__base__class_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Defines</a>  </div>
  <div class="headertitle">
<div class="title">get_base_class.h File Reference<div class="ingroups"><a class="el" href="group___qx_traits.html">QxTraits : QxOrm library traits (template metaprogramming) not available in 'boost::type_traits' library</a></div></div>  </div>
</div>
<div class="contents">

<p><a class="el" href="classqx_1_1trait_1_1get__base__class.html#af1fe7aedeced4add36999d1c6c62e1b7">qx::trait::get_base_class&lt;T&gt;::type</a> : retrieve base class of type T registered into QxOrm context and return <a class="el" href="classqx_1_1trait_1_1no__base__class__defined.html">qx::trait::no_base_class_defined</a> if no base class defined  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;boost/mpl/if.hpp&gt;</code><br/>
<code>#include &lt;boost/mpl/logical.hpp&gt;</code><br/>
<code>#include &lt;boost/type_traits/is_same.hpp&gt;</code><br/>
<code>#include &lt;<a class="el" href="get__class__name_8h_source.html">QxTraits/get_class_name.h</a>&gt;</code><br/>
</div>
<p><a href="get__base__class_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1trait_1_1no__base__class__defined.html">qx::trait::no_base_class_defined</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1trait_1_1get__base__class.html">qx::trait::get_base_class&lt; T &gt;</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classqx_1_1trait_1_1get__base__class.html#af1fe7aedeced4add36999d1c6c62e1b7">qx::trait::get_base_class&lt;T&gt;::type</a> : retrieve base class of type T registered into QxOrm context and return <a class="el" href="classqx_1_1trait_1_1no__base__class__defined.html">qx::trait::no_base_class_defined</a> if no base class defined  <a href="classqx_1_1trait_1_1get__base__class.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1trait_1_1is__base__class__defined.html">qx::trait::is_base_class_defined&lt; T &gt;</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1trait_1_1get__base__class__2.html">qx::trait::get_base_class_2&lt; T &gt;</a></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceqx.html">qx</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>Root namespace for all QxOrm library features. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceqx_1_1trait.html">qx::trait</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>QxOrm library traits (template metaprogramming) not available in boost::type_traits library. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#a38a14898192fd3ddb74ccbc61192829c">QX_REGISTER_BASE_CLASS</a>(derivedClass, baseClass)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#a16949fd07c954ec2b90976c28e6edb1f">QX_GET_BASE_CLASS</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class.html">qx::trait::get_base_class</a>&lt; T &gt;::type</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#a0b7bae6e22216e873851c2bf3e5aaffe">QX_GET_BASE_CLASS_WITH_TYPENAME</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class.html">qx::trait::get_base_class</a>&lt; typename T &gt;::type</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#a842dacaaf61c2df3dfc33bd0ac4fc615">QX_IS_BASE_CLASS_DEFINED</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1is__base__class__defined.html">qx::trait::is_base_class_defined</a>&lt; T &gt;::value</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#aa22e658e02dbf61dece054fba72460f2">QX_IS_BASE_CLASS_DEFINED_WITH_TYPENAME</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1is__base__class__defined.html">qx::trait::is_base_class_defined</a>&lt; typename T &gt;::value</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#a9fea3360c40ad0ab025c0c89d10ccfc0">QX_GET_BASE_CLASS_2</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class__2.html">qx::trait::get_base_class_2</a>&lt; T &gt;::type</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__base__class_8h.html#adef9cf9926086291297b47ebad804304">QX_GET_BASE_CLASS_2_WITH_TYPENAME</a>(T)&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class__2.html">qx::trait::get_base_class_2</a>&lt; typename T &gt;::type</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classqx_1_1trait_1_1get__base__class.html#af1fe7aedeced4add36999d1c6c62e1b7">qx::trait::get_base_class&lt;T&gt;::type</a> : retrieve base class of type T registered into QxOrm context and return <a class="el" href="classqx_1_1trait_1_1no__base__class__defined.html">qx::trait::no_base_class_defined</a> if no base class defined </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Lionel Marty </dd></dl>

<p>Definition in file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a16949fd07c954ec2b90976c28e6edb1f"></a><!-- doxytag: member="get_base_class.h::QX_GET_BASE_CLASS" ref="a16949fd07c954ec2b90976c28e6edb1f" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_GET_BASE_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class.html">qx::trait::get_base_class</a>&lt; T &gt;::type</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00090">90</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9fea3360c40ad0ab025c0c89d10ccfc0"></a><!-- doxytag: member="get_base_class.h::QX_GET_BASE_CLASS_2" ref="a9fea3360c40ad0ab025c0c89d10ccfc0" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_GET_BASE_CLASS_2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class__2.html">qx::trait::get_base_class_2</a>&lt; T &gt;::type</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00094">94</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="adef9cf9926086291297b47ebad804304"></a><!-- doxytag: member="get_base_class.h::QX_GET_BASE_CLASS_2_WITH_TYPENAME" ref="adef9cf9926086291297b47ebad804304" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_GET_BASE_CLASS_2_WITH_TYPENAME</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class__2.html">qx::trait::get_base_class_2</a>&lt; typename T &gt;::type</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00095">95</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0b7bae6e22216e873851c2bf3e5aaffe"></a><!-- doxytag: member="get_base_class.h::QX_GET_BASE_CLASS_WITH_TYPENAME" ref="a0b7bae6e22216e873851c2bf3e5aaffe" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_GET_BASE_CLASS_WITH_TYPENAME</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1get__base__class.html">qx::trait::get_base_class</a>&lt; typename T &gt;::type</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00091">91</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="a842dacaaf61c2df3dfc33bd0ac4fc615"></a><!-- doxytag: member="get_base_class.h::QX_IS_BASE_CLASS_DEFINED" ref="a842dacaaf61c2df3dfc33bd0ac4fc615" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_IS_BASE_CLASS_DEFINED</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1is__base__class__defined.html">qx::trait::is_base_class_defined</a>&lt; T &gt;::value</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00092">92</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa22e658e02dbf61dece054fba72460f2"></a><!-- doxytag: member="get_base_class.h::QX_IS_BASE_CLASS_DEFINED_WITH_TYPENAME" ref="aa22e658e02dbf61dece054fba72460f2" args="(T)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_IS_BASE_CLASS_DEFINED_WITH_TYPENAME</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="classqx_1_1trait_1_1is__base__class__defined.html">qx::trait::is_base_class_defined</a>&lt; typename T &gt;::value</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00093">93</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
<a class="anchor" id="a38a14898192fd3ddb74ccbc61192829c"></a><!-- doxytag: member="get_base_class.h::QX_REGISTER_BASE_CLASS" ref="a38a14898192fd3ddb74ccbc61192829c" args="(derivedClass, baseClass)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_REGISTER_BASE_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">derivedClass, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">baseClass&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">namespace </span>qx { <span class="keyword">namespace </span>trait { \
template &lt;&gt; \
class get_base_class&lt; derivedClass &gt; \
{ <span class="keyword">public</span>: <span class="keyword">typedef</span> baseClass type; }; \
} }
</pre></div>
<p>Definition at line <a class="el" href="get__base__class_8h_source.html#l00083">83</a> of file <a class="el" href="get__base__class_8h_source.html">get_base_class.h</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="get__base__class_8h.html">get_base_class.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:09 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
